package geodata;

/**
 * @author Sean Freitag Represents the properties of a single geothermal heat
 *         exchanger
 */
@SuppressWarnings("serial")
public class BoreData extends GeoData
{

//	/**
//	 * @return Thermal Conductivity of the bore
//	 */
//	public double getThermalConductivity()
//	{
//		return thermalConductivity;
//	}
//
//	/**
//	 * @param thermalConductivity
//	 *            Sets the Thermal Conductivity
//	 */
//	public void setThermalConductivity(double thermalConductivity)
//	{
//		this.thermalConductivity = thermalConductivity;
//	}
//
//	/**
//	 * @return Volumetric Heat Capacity for bore
//	 */
//	public double getVolumetricHeatCapacity()
//	{
//		return volumetricHeatCapacity;
//	}
//
//	/**
//	 * @param volumetricHeatCapacity
//	 *            Sets the Volumetric Heat Capacity
//	 */
//	public void setVolumetricHeatCapacity(double volumetricHeatCapacity)
//	{
//		this.volumetricHeatCapacity = volumetricHeatCapacity;
//	}
//
//	/**
//	 * @return Thermal Resistance for the bore
//	 */
//	public double getThermalResistance()
//	{
//		return thermalResistance;
//	}
//
//	/**
//	 * @param thermalResistance
//	 *            Sets the Thermal Resistance
//	 */
//	public void setThermalResistance(double thermalResistance)
//	{
//		this.thermalResistance = thermalResistance;
//	}
//
//	/**
//	 * @return Depth of the bore
//	 */
//	public double getBoreDepth()
//	{
//		return boreDepth;
//	}
//
//	/**
//	 * @param boreDepth
//	 *            Sets the bore depth
//	 */
//	public void setBoreDepth(double boreDepth)
//	{
//		this.boreDepth = boreDepth;
//	}

//	/**
//	 * Thermal Conductivity of the bore
//	 */
//	private double thermalConductivity;
//
//	/**
//	 * Volumetric Heat Capacity of the bore
//	 */
//	private double volumetricHeatCapacity;
//
//	/**
//	 * Thermal Resistance of the bore
//	 */
//	private double thermalResistance;
//
//	/**
//	 * Bore depth
//	 */
//	private double boreDepth;
//	
	public BoreData()
	{
		this.addField(new Field<Double>(0.0d, "Thermal Conductivity", "tc", null));
		this.addField(new Field<Double>(0.0d, "Volumetric Heat Capacity", "vhc", null));
		this.addField(new Field<Double>(0.0d, "Thermal Resistance", "tr", null));
		this.addField(new Field<Double>(0.0d, "Bore Depth", "bd", null));
		
	}

	/**
	 * @return Thermal Diffusivity of bore
	 */
	public double getThermalDiffusivity()
	{
		return getFieldByName("Thermal Conductivity").getValue().doubleValue() / getFieldByName("Volumetric Heat Capacity").getValue().doubleValue();
	}

	/**
	 * @see geodata.GeoData#setMetric()
	 */
	public void setMetric()
	{

	}

	/**
	 * @see geodata.GeoData#setStandard()
	 */
	public void setStandard()
	{

	}

}
